package com.ruoyi.mall.sms.service;

import com.ruoyi.mall.sms.domain.SmsFlashPromotionSession;

import java.util.List;

/**
 * 限时购场次Service接口
 *
 * @author xuxing
 * @date 2021-02-09
 */
public interface ISmsFlashPromotionSessionService
{
    /**
     * 查询限时购场次
     *
     * @param id 限时购场次ID
     * @return 限时购场次
     */
    public SmsFlashPromotionSession selectSmsFlashPromotionSessionById(Long id);

    /**
     * 查询限时购场次列表
     *
     * @param smsFlashPromotionSession 限时购场次
     * @return 限时购场次集合
     */
    public List<SmsFlashPromotionSession> selectSmsFlashPromotionSessionList(SmsFlashPromotionSession smsFlashPromotionSession);

    /**
     * 新增限时购场次
     *
     * @param smsFlashPromotionSession 限时购场次
     * @return 结果
     */
    public int insertSmsFlashPromotionSession(SmsFlashPromotionSession smsFlashPromotionSession);

    /**
     * 修改限时购场次
     *
     * @param smsFlashPromotionSession 限时购场次
     * @return 结果
     */
    public int updateSmsFlashPromotionSession(SmsFlashPromotionSession smsFlashPromotionSession);

    /**
     * 批量删除限时购场次
     *
     * @param ids 需要删除的限时购场次ID
     * @return 结果
     */
    public int deleteSmsFlashPromotionSessionByIds(Long[] ids);

    /**
     * 删除限时购场次信息
     *
     * @param id 限时购场次ID
     * @return 结果
     */
    public int deleteSmsFlashPromotionSessionById(Long id);
}
